package com.wc.dao;

import com.wc.pojo.Project;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProjectMapper {

    List<Project> getProjectList();

    int addProject(Project project);

    int removeProject(String bmDm);

    int updateProject(Project project);

    List<Project> getDetailed(Integer xmDetailed);

    Project getOwnerid(Integer xmOwnerid);

    List<Project> getLevel(Integer level);

    Project getBmdm(String bmDm);

    List<Project> getChildren(String xmDm);

    int updateVariable(@Param("xmDetailed") Integer xmDetailed,@Param("bmDm") String bmDm);

    int parentLevel(String xmDm);

}
